
.dux-top {
  color: #bfbfbf;
  font-size: 1.4rem;
  background: #363636;
  padding: 10px 0;
  .top-nav {
    display: flex;
    > li {
      margin-left: 20px;
      border-left: solid 1px rgba(255,255,255, .3);
      padding-left: 15px;
      &:first-child {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
      }

      > a {
        color:#bfbfbf;
        margin: 0 5px;
      }
      .uk-inline {
        vertical-align: inherit;
        > a {
          color:#bfbfbf;
          margin: 0 5px;
        }
      }
      i {
        font-size: 1.4rem;
        margin-right: 5px;
      }
    }
  }
}

.dux-cart-list {
  background: #fff;
  width: 280px;
  font-size: 1.4rem;

  .tip {
    padding: 10px;
    color: #666;
    text-align: center;
    background: #f5f5f5;
    margin-bottom: 10px;
  }
  .list-body {
    max-height: 350px;
    overflow: auto;
    ul, li {
      margin: 0;
      padding: 0;
      list-style: none;
    }
    li {
      border-bottom: 1px solid #ddd;
      padding-top: 10px;
      padding-bottom: 10px;
      &:last-child {
        border-bottom: none;
      }
      .img {
        float: left;
        width: 50px;
        height: 50px;
        margin-left: 10px;
        img {
          width: 50px;
          height: 50px;
          border: 1px solid #ddd;
        }

      }
      .title {
        float: left;
        width: 100px;
        margin-left: 10px;

      }
      .info {
        float: right;
        margin-right: 10px;
        text-align: right;
        .price {
          font-weight: normal;
        }

      }
      .opt {
        a {
          color: #999;
        }
      }
    }
  }
  .list-foot {
    background: #f2f2f2;
    padding: .5rem;
    color: $color-main;
    line-height: 30px;
  }

}

.dux-index-header {
  padding-top:30px;
  padding-bottom:10px;
  background: #fff;
  .header-logo {
    h1 {
      margin: 0;
      padding: 0;
      font-size: 2.2rem;
    }
    a {
      color: #666;
    }
    img {
      width: 50px;
      margin-right: 10px;
    }
  }
  .header-search {
    .uk-search {
      width: 300px;
      font-size: 1.4rem;
      .uk-search-input {
        border-left: none;
        border-right: none;
        border-top: none;
      }
    }
  }

}



.dux-nav {
  background: #fff;
  position: relative;
  padding-top: 20px;
  z-index: 100;
  box-shadow: 0 3px 10px -8px rgba(0,0,0,.9);
  .nav-list {
    display: flex;
    position: relative;
    > li {
      flex: 1;
      height: 40px;
      text-align: center;
      cursor: pointer;
      a {
        padding: 5px 0;
      }
      &.active {
        a:first-child {
          color: $color-main;
          border-bottom: 3px solid $color-main;
        }
      }
    }
  }
  .uk-inline {
    vertical-align: inherit;
    position: inherit;
  }
  .uk-dropdown {
    padding: 0;
    border: 1px solid #ddd;
  }
  .nav-sub {
    left: 0 !important;
    right: 0;
    width: 100%;
    ul {
      display: flex;
      li {
        flex: 1;
        text-align: center;
        cursor: pointer;
        a {
          padding: 10px;
          display: block;

        }
        img {
          width: 32px;
          height: 32px;

        }
         p {
           margin: 0;
           margin-top: 10px;
         }

      }
    }
  }
}

.dux-heading {
  small {
    color: #999;
    font-size: 1.4rem;
    margin-left: 10px;
  }
}
